package com.springboot.chongwu.entity.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.converters.string.StringImageConverter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.net.URL;

@Data
@EqualsAndHashCode
@HeadRowHeight(30)
@ContentRowHeight(80)
@ColumnWidth(15)
@HeadStyle(fillForegroundColor = 44)
@NoArgsConstructor
@AllArgsConstructor
public class Customer {

    @ExcelProperty({"客户编号"})//0
    private String userCode;

    @ExcelProperty({"客户名称"})//1
    private String userName;

    @ColumnWidth(25)
    @ExcelProperty({"客户所在地址"})//2
    private String address;
    @ExcelProperty({"客户所在地址1"})//3
    private String address1;
    @ExcelProperty({"客户所在地址2"})//4
    private String address2;
    @ExcelProperty({"客户所在地址3"})//5
    private String address3;
    @ExcelProperty({"客户所在地址4"})//6
    private String address4;


    @ExcelProperty({"联系人信息", "联系人姓名"})// 7合并开始
    private String personName;

    @ExcelProperty({"联系人信息", "联系电话"})
    private String telephone;


}